updating oE db_select_table

Managing Tables

db_select_table

include eds.e 
namespace eds 
public function db_select_table(sequence name) 
Parameters:
  1. name : a sequence which defines the name of the new current table.

On success, the table with name given by name becomes the current table.

Returns:

An integer, either DB_OK on success or DB_OPEN_FAIL otherwise.

Errors:

An error occurs if the current database is not defined.

Comments:

All record-level database operations apply automatically to the current table.

Example 1:
if db_select_table("salary") != DB_OK then 
    puts(2, "Couldn't find salary table!\n") 
    abort(1) 
end if 
See Also:

db_table_list

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu